package com.feiyi.app.bean;

import java.util.List;

/**
 * @author wangliantao
 * @time 2018 11 2018/11/18 5:45 PM
 * @email 1346947404@qq.com
 * @package com.feiyi.app.bean
 * @describe： 优惠券实体类
 * In me the tiger sniffs the rose
 */
public class MyYouhuiBean {


    /**
     * data : [{"bonus_sn":"0","order_id":"0","type_name":"测试","type_money":"10.00","min_goods_amount":"10.00","use_start_date":"1540972800","use_end_date":"1546156800","status":0,"use_startdate":"2018-11-01","use_enddate":"2018-12-31"},{"bonus_sn":"0","order_id":"0","type_name":"测试2","type_money":"100.00","min_goods_amount":"100.00","use_start_date":"1540972800","use_end_date":"1544947200","status":0,"use_startdate":"2018-11-01","use_enddate":"2018-12-17"}]
     * status : {"succeed":1}
     */

    private StatusBean status;
    private List<DataBean> data;

    public StatusBean getStatus() {
        return status;
    }

    public void setStatus(StatusBean status) {
        this.status = status;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class StatusBean {
        /**
         * succeed : 1
         */

        private int succeed;

        public int getSucceed() {
            return succeed;
        }

        public void setSucceed(int succeed) {
            this.succeed = succeed;
        }
    }

    public static class DataBean {
        /**
         * bonus_sn : 0
         * order_id : 0
         * type_name : 测试
         * type_money : 10.00
         * min_goods_amount : 10.00
         * use_start_date : 1540972800
         * use_end_date : 1546156800
         * status : 0
         * use_startdate : 2018-11-01
         * use_enddate : 2018-12-31
         */

        private String bonus_sn;
        private String order_id;
        private String type_name;
        private String type_money;
        private String min_goods_amount;
        private String use_start_date;
        private String use_end_date;
        private int status;
        private String use_startdate;
        private String use_enddate;

        public String getBonus_sn() {
            return bonus_sn;
        }

        public void setBonus_sn(String bonus_sn) {
            this.bonus_sn = bonus_sn;
        }

        public String getOrder_id() {
            return order_id;
        }

        public void setOrder_id(String order_id) {
            this.order_id = order_id;
        }

        public String getType_name() {
            return type_name;
        }

        public void setType_name(String type_name) {
            this.type_name = type_name;
        }

        public String getType_money() {
            return type_money;
        }

        public void setType_money(String type_money) {
            this.type_money = type_money;
        }

        public String getMin_goods_amount() {
            return min_goods_amount;
        }

        public void setMin_goods_amount(String min_goods_amount) {
            this.min_goods_amount = min_goods_amount;
        }

        public String getUse_start_date() {
            return use_start_date;
        }

        public void setUse_start_date(String use_start_date) {
            this.use_start_date = use_start_date;
        }

        public String getUse_end_date() {
            return use_end_date;
        }

        public void setUse_end_date(String use_end_date) {
            this.use_end_date = use_end_date;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public String getUse_startdate() {
            return use_startdate;
        }

        public void setUse_startdate(String use_startdate) {
            this.use_startdate = use_startdate;
        }

        public String getUse_enddate() {
            return use_enddate;
        }

        public void setUse_enddate(String use_enddate) {
            this.use_enddate = use_enddate;
        }
    }
}
